package com.gcxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gcxy.Vo.RanchVo;
import com.gcxy.conf.result.R;
import com.gcxy.dto.RanchDTO;
import com.gcxy.entity.Ranch;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiang
 * @since 2023-12-12
 */
public interface RanchService extends IService<Ranch> {

    boolean addRanch(Ranch ranch);

    Page<RanchVo> getRanchByPage(RanchVo ranchVo);


    boolean getRanchName(Ranch ranch);

    boolean updateRanch(Ranch ranch);

    boolean updateIsEnable(Ranch ranch);

    List<String> getRanchNameList();
}
